// =================================================================
// File: IndirectBlock.cpp
// Desc: Contains implementations of functions in Directory class
// =================================================================

// =================================================================
// INCLUDES
// =================================================================

#include "IndirectBlock.h"

// =================================================================
// FUNCTIONS
// =================================================================

// =================================================================
// Name: IndirectBlock::IndirectBlock
// Desc: Initializes the addresses of a indirect block to be -1
// =================================================================
IndirectBlock::IndirectBlock()
{
	// Initialize all values to -1
	for (int i = 0; i < BLOCK_SIZE/INT_SIZE; i++)
		addr[i] = -1;
}

// =================================================================
// Name: IndirectBlock::~IndirectBlock
// Desc: IndirectBlock destructor
// =================================================================
IndirectBlock::~IndirectBlock()
{
}
